package 算法;

import org.omg.Messaging.SYNC_WITH_TRANSPORT;

public class 交织白化算法 {
    public static void main(String[] args) {
        int i = 0xD9911BDA;
        int j = 0xE5C51324;
        System.out.println(Integer.toBinaryString(i));
        System.out.println(Integer.toBinaryString(j));
        System.out.println(Integer.toBinaryString(i^j));
        System.out.println("D9911BDAE5C51324  15052D46   7097570A   7C0D2DE8  9C426BF".getBytes());
//        int i = 0xff;
//        i = i >> 1;
//        System.out.println(Integer.toBinaryString(i));
//        int i = 0XD9911BDA;
        String j1 = " D9911BDAE5C5132415052D467097570A7C0D2DE89C426BF";
//        110110011001 00010001101111011010
//        System.out.println(Integer.toBinaryString(i));
        byte[] jr = j1.getBytes();
        for (byte b : jr) {
            System.out.println(b);
        }
////        System.out.println(j.getBytes());
//
//        char[] strChar = j.toCharArray();
//        String result = "";
//        for (int i1 = 0; i1 < strChar.length; i1++) {
//            result += Integer.toBinaryString(strChar[i1]) + " ";
//        }
//        System.out.println(result);
//        System.out.println("---------------------------");

    }
}
